package com.guofen.service.food;

import com.guofen.dto.*;
import com.guofen.pojo.OrderList;

import java.util.List;
import java.util.Map;

public interface OrderInfoService {
    int addOrder(OrderInfoDTO orderInfoDTO);
    int processOrder(int orderId, boolean pass);
    int modifyOrder(int orderId, List<OrderListDTO> menu);
    Map<String, Object> getOrderByStatus(String[] status, int currentPage, int pageSize);
    int deleteOrder(int orderId);
    List<OrderList> getMenu(int orderId);
    List<OrderInfoWithMenu> getCustomerOrder();
}
